package cn.sunxyz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

@SpringBootApplication
@Controller
public class HoneyApplication {

	@GetMapping("/")
	public String index() {
		return "index";
	}

	@GetMapping("/fetch")
	public String fetch(){
		return "fetch";
	}

	@GetMapping("/test")
	public String test(){
		return "test";
	}

	public static void main(String[] args) {
		SpringApplication.run(HoneyApplication.class, args);
	}
}
